package dao;

import entity.Admin;

import java.sql.SQLException;
import java.util.List;

public interface AdminDao {

     int getTotalCount(Integer id, String name) throws SQLException, ClassNotFoundException;
     List<Admin> chaxun(Integer id, String name, int page, int pageSize) throws SQLException, ClassNotFoundException;
    int tianjia(Admin admin) throws SQLException, ClassNotFoundException;
    int xiugai(Admin admin) throws SQLException, ClassNotFoundException;
    int shanchu(Integer id) throws SQLException, ClassNotFoundException;
}
